package java44th.group.mapper;

import java.util.List;
import java44th.group.bean.po.MarketUser;
import java44th.group.bean.po.MarketUserExample;
import java44th.group.bean.admin.vo.stat.user.RowsEntity;
import org.apache.ibatis.annotations.Param;

public interface MarketUserMapper {
    long countByExample(MarketUserExample example);

    int deleteByExample(MarketUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketUser row);

    int insertSelective(MarketUser row);

    List<MarketUser> selectByExample(MarketUserExample example);

    MarketUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") MarketUser row, @Param("example") MarketUserExample example);

    int updateByExample(@Param("row") MarketUser row, @Param("example") MarketUserExample example);

    int updateByPrimaryKeySelective(MarketUser row);

    int updateByPrimaryKey(MarketUser row);

    List<RowsEntity> selectUsersTotalAndDayGroupByAddTime();

}